package com.example.teesystem.entity.vo.user;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author pxr
 * @data 2022/3/29 13:53
 */
@Data
public class UserSelectVo {
    @NotNull(message = "值不能为空")
    private Integer type;//用户类型

    @NotNull(message = "值不能为空")
    private Integer accountType;//帐号状态

    @Min(value = 0, message = "当前页数不能小于 0")
    @NotNull(message = "值不能为空")
    private Integer cur;

    /**
     * 每页个数
     */
    @Min(value = 0, message = "每页信息条数不能小于 0")
    @NotNull(message = "值不能为空")
    private Integer size;
}
